﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ServiceModel;

namespace BluePortal.Encoding.Core.Interface
{
    [ServiceContract]
    public interface IVideoEncoderProcess
    {
        [OperationContract(IsOneWay = true)]
        void Encode(Guid id, string provider, string providerOptions);
        [OperationContract(IsOneWay = true)]
        void Delete(Guid vid, string provider, string providerOptions);
    }

    [Serializable]
    public class VideoEncoderProcessMessage
    {
        [DataMember]
        public Guid vid;

        [DataMember]
        public string provider;
        [DataMember]
        public string providerOptions;

        [DataMember]
        public string ErrorMessage;
    }
}
